<html>
  <head>
	<script>
	    function somefunc(input) {
		  var foo = "bar";
		  // behold indentation on next line:
		  var badly_indented_statement;
		  // as far as I can tell this happens under the following conditions
		  // * vanilla emacs config
		  // * clean install of web-mode from melpa
		  // * set web-mode-script-padding to 4
		  // * open script tag
		  // * create function
		  // * have at least one normal line of code
		  // * have a comment line that ends with a semicolon
	    }
	</script>
    </head>
</html>
